/****************************************\
|* MFZPSP LLE PSP Emulator              *|
|* Copyright (c) 2008 Mauro Frischherz  *|
|* See License.txt for details          *|
\****************************************/

#ifndef CPU_H_
#define CPU_H_

void ResetCPU(); // Sets everything to zero

int RunCPU(); // Runs CPU (call after InitCPU or PauseCPU)
void StopCPU(); // Stops CPU and Resets it
void PauseCPU(); // Pauses CPU

int GetCPUState(); // Return integer representing state (see types.h)

uint GetPC();
uint GetReg(uint Index);
uint GetOp(uint PC);

bool SingleStep(); // Make a single CPU operation for step by step debugging


void SetEntry(uint Entry);

#endif /*CPU_H_*/
